﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cn.Edwon.Biz;
using Cn.Cellula.Model.Calendar;
using Cn.Cellula.Biz.Def;

namespace Cn.Cellula.Biz.Port {
    public interface ICalendarBiz:IBiz {
        void SaveOrUpdateMembers(String rTodoKey, String rMembers);
        IList<Object> LoadCalendarTodo(String rOwnerKey, String rUserKey, DateTime rStartToPlan1, DateTime rStartToPlan2, TodoStatus rStatus, Int32 rLimit);
        IList<VCalendarTodoEO> LoadCalendarTodo(String rOwnerKey, String rUserKey, DateTime rStartToPlan1, DateTime rStartToPlan2, TodoStatus rStatus);
        IList<Object> LoadCalendarTodo(String rOwnerKey, String rUserKey, String rStartToPlan1, String rStartToPlan2, TodoStatus rStatus, Int32 rLimit);
        IList<VCalendarTodoEO> LoadCalendarTodo(String rOwnerKey, String rUserKey, String rStartToPlan1, String rStartToPlan2, TodoStatus rStatus);
        VCalendarTodoEO LoadCalendarTodo(String rOwnerKey, String rUserKey, String rTodoKey);
        void CloseTodo(String rTodoKey,DateTime rDt);
        Boolean IfOccurDtChecked(DateTime dt);
    }
}
